var obj =  {
    name: 'John',
    getName: function () {
      console.log(this === obj)
      console.log(this.name === 'John')

    //   console.log(this)
    //   console.log(this.name)
      return this.name
    }
  }
  
obj.getName(); 